<template>
    <div class="navi-bar">
      <div class="left"><slot name="left"></slot></div>
      <div class="mid"><slot name="mid"></slot></div>
      <div class="right"><slot name="right"></slot></div>
    </div>
</template>

<script>
    export default {
        name: "NavBar"
    }
</script>

<style scoped>
.navi-bar{
  height: 44px;
  display: flex;
  text-align: center;
  line-height: 44px;
  box-shadow: 0 1px 1px rgba(100,100,100,.5);
}
  .left,.right {
    width: 60px;
  }
  .mid{
    flex: 1;
  }
</style>
